html {
  font-size: 20px
}

html,
body {
  padding: 0;
  margin: 0;
}

@media only screen and (min-width:320px) {
  html {
    font-size: 17.07px !important;
  }
}

@media only screen and (min-width:375px) {
  html {
    font-size: 20px !important;
  }
}

@media only screen and (min-width:400px) {
  html {
    font-size: 21.33px !important;
  }
}

@media only screen and (min-width:414px) {
  html {
    font-size: 22.08px !important;
  }
}

@media only screen and (min-width:480px) {
  html {
    font-size: 25.6px !important;
  }
}

/* 定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸 */

::-webkit-scrollbar {
  width: 0px;
  height: 10px;
  background-color: red;
}

/* 定义滚动条轨道 内阴影+圆角 */

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 0px;
  background-color: #F5F5F5;
}

/* 定义滑块 内阴影+圆角 */

::-webkit-scrollbar-thumb {
  border-radius: 1px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #555;
}

/*基本标签*/

* {
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  /* -webkit-user-select: none; */
  /* 导入IOS没法输入 */
  outline: none;
}

ol,
ul,
li {
  list-style: none;
}

b,
strong {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th,
td {
  text-align: left;
  font-weight: normal;
}

img {
  border: 0;
  vertical-align: middle;
}

a {
  text-decoration: none;
  vertical-align: baseline;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

a:hover {
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  outline: 0;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

textarea {
  overflow: hidden;
  resize: none;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type=checkbox],
input[type=radio] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

input[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* 常用字号 */

.fontR40 {
  font-size: 2rem;
  /*  40px*/
}

.fontR32 {
  font-size: 1.6rem;
  /* 32px */
}

.fontR30 {
  font-size: 1.5rem;
  /* 30px */
}

.fontR28 {
  font-size: 1.4rem;
  /* 28px */
}

.fontR26 {
  font-size: 1.3rem;
  /* 26px */
}

.fontR24 {
  font-size: 1.2rem;
  /* 24px */
}

.fontR20 {
  font-size: 1rem;
  /* 20px */
}
.fontR16 {
  font-size: 1rem;
  /* 20px */
}
/* 常用颜色 */

.color-default {
  color: #3d4145
}

.color-gray {
  color: #999;
}

.color-primary {
  color: #0894ec;
}

.color-success {
  color: #4cd964;
}

.color-danger {
  color: #f6383a;
}

.color-warning {
  color: #f60;
}

/* 浮动 */

.hya-float-left {
  float: left !important;
}

.hya-float-right {
  float: right !important;
}

/* 清除浮动 */

.clearfix:after,
.clearfix:before {
  content: " ";
  display: table
}

.clearfix,
.clearfix:after {
  clear: both
}

/*文字对齐*/

.hya-text-left {
  text-align: left !important;
}

.hya-text-center {
  text-align: center !important;
}

.hya-text-justify {
  text-align: justify !important;
}

.hya-text-right {
  text-align: right !important;
}

/*自动隐藏文字*/

.hya-ellipsis-1 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  word-break: break-all;
  white-space: normal !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.hya-ellipsis-2 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  word-break: break-all;
  white-space: normal !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/*  */

.title {
  position: absolute;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 -.5rem;
  font-size: .85rem;
  font-weight: 500;
  line-height: 2.2rem;
  color: #3d4145;
  text-align: center;
  white-space: nowrap
}

.title a {
  color: inherit
}

.bar-nav {
  top: 0
}

.bar-nav-left,
.bar-nav-right {
  line-height: 2.2rem;
  font-size: 0.85rem;
}

.bar {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 10;
  height: 2.2rem;
  padding-right: .5rem;
  padding-left: .5rem;
  background-color: #f7f7f8;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden
}

.bar:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  right: auto;
  top: auto;
  height: 1px;
  width: 100%;
  background-color: #e7e7e7;
  display: block;
  z-index: 15;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%
}

.bar-tab {
  bottom: 0;
  width: 100%;
  height: 2.5rem;
  padding: 0;
  table-layout: fixed
}

.bar-tab:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: auto;
  right: auto;
  height: 1px;
  width: 100%;
  background-color: #e7e7e7;
  display: block;
  z-index: 15;
  -webkit-transform-origin: 50% 0;
  transform-origin: 50% 0
}

@media only screen and (-webkit-min-device-pixel-ratio:2) {
  .bar-tab:before {
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5)
  }
}

@media only screen and (-webkit-min-device-pixel-ratio:3) {
  .bar-tab:before {
    -webkit-transform: scaleY(.33);
    transform: scaleY(.33)
  }
}

.bar-tab:after {
  display: none
}

.bar-tab .tab-item {
  position: relative;
  display: table-cell;
  width: 1%;
  height: 2.5rem;
  color: #929292;
  text-align: center;
  vertical-align: middle
}

.bar-tab .tab-item.active,
.bar-tab .tab-item:active {
  color: #0894ec !important;
}

.bar-tab .tab-item .badge {
  position: absolute;
  top: .1rem;
  left: 50%;
  z-index: 100;
  height: .8rem;
  min-width: .8rem;
  padding: 0 .2rem;
  font-size: .6rem;
  line-height: .8rem;
  color: #fff;
  vertical-align: top;
  background: red;
  border-radius: .5rem;
  margin-left: .1rem
}

.bar-tab .tab-item .icon {
  top: .05rem;
  height: 1.2rem;
  font-size: 1.2rem;
  line-height: 1.2rem;
  padding-top: 0;
  padding-bottom: 0
}

.bar-tab .tab-item .icon~.tab-label {
  display: block;
  font-size: .55rem;
  position: relative;
  top: .15rem
}


/* 遮罩 */

.modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .4);
  z-index: 10600;
  /* visibility: hidden; */
  opacity: 1;
  -webkit-transition-duration: .4s;
  transition-duration: .4s
}

/* 弹窗 */

.modal {
  width: 13.5rem;
  position: absolute;
  z-index: 11000;
  left: 50%;
  margin-left: -6.75rem;
  margin-top: 0;
  top: 30%;
  text-align: center;
  border-radius: .35rem;
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0) scale(1.185);
  transform: translate3d(0, 0, 0) scale(1.185);
  -webkit-transition-property: -webkit-transform, opacity;
  -webkit-transition-property: opacity, -webkit-transform;
  transition-property: opacity, -webkit-transform;
  transition-property: transform, opacity;
  transition-property: transform, opacity, -webkit-transform;
  color: #3d4145;
  display: none
}

.modal.modal-in {
  opacity: 1;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1)
}

.modal-inner {
  padding: .75rem;
  border-radius: .35rem .35rem 0 0;
  position: relative;
  background: #e8e8e8
}

.modal-inner:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  right: auto;
  top: auto;
  height: 1px;
  width: 100%;
  background-color: #b5b5b5;
  display: block;
  z-index: 15;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%
}

@media only screen and (-webkit-min-device-pixel-ratio:2) {
  .modal-inner:after {
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5)
  }
}

@media only screen and (-webkit-min-device-pixel-ratio:3) {
  .modal-inner:after {
    -webkit-transform: scaleY(.33);
    transform: scaleY(.33)
  }
}

.modal-title+.modal-text {
  margin-top: .25rem
}

.modal-buttons {
  height: 2.2rem;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center
}

.modal-buttons {
  height: 2.2rem;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center
}

.modal-buttons.modal-buttons-vertical {
  display: block;
  height: auto
}

.modal-button {
  width: 100%;
  padding: 0 .25rem;
  height: 2.2rem;
  font-size: .85rem;
  line-height: 2.2rem;
  text-align: center;
  color: #0894ec;
  background: #e8e8e8;
  display: block;
  position: relative;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  -ms-flex: 1
}

.modal-button:after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  left: auto;
  bottom: auto;
  width: 1px;
  height: 100%;
  background-color: #b5b5b5;
  display: block;
  z-index: 15;
  -webkit-transform-origin: 100% 50%;
  transform-origin: 100% 50%
}

@media only screen and (-webkit-min-device-pixel-ratio:2) {
  .modal-button:after {
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5)
  }
}

@media only screen and (-webkit-min-device-pixel-ratio:3) {
  .modal-button:after {
    -webkit-transform: scaleY(.33);
    transform: scaleY(.33)
  }
}

.modal-button:first-child {
  border-radius: 0 0 0 .35rem
}

.modal-button:last-child {
  border-radius: 0 0 .35rem 0
}

.modal-button:last-child:after {
  display: none
}

.modal-button:first-child:last-child {
  border-radius: 0 0 .35rem .35rem
}

.modal-button.modal-button-bold {
  font-weight: 500
}

.modal-button.active-state,
html:not(.watch-active-state) .modal-button:active {
  background: #d4d4d4
}

.modal-buttons-vertical .modal-button {
  border-radius: 0
}

.modal-buttons-vertical .modal-button:after {
  display: none
}

.modal-buttons-vertical .modal-button:before {
  display: none
}

.modal-buttons-vertical .modal-button:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  right: auto;
  top: auto;
  height: 1px;
  width: 100%;
  background-color: #b5b5b5;
  display: block;
  z-index: 15;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%
}

@media only screen and (-webkit-min-device-pixel-ratio:2) {
  .modal-buttons-vertical .modal-button:after {
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5)
  }
}

@media only screen and (-webkit-min-device-pixel-ratio:3) {
  .modal-buttons-vertical .modal-button:after {
    -webkit-transform: scaleY(.33);
    transform: scaleY(.33)
  }
}

.modal-buttons-vertical .modal-button:last-child {
  border-radius: 0 0 .35rem .35rem
}

.modal-buttons-vertical .modal-button:last-child:after {
  display: none
}

.modal-no-buttons .modal-inner {
  border-radius: .35rem
}

.modal-no-buttons .modal-inner:after {
  display: none
}

.modal-no-buttons .modal-buttons {
  display: none
}

/* 按钮 */

.button {
  border-radius: 8px;
  -webkit-box-shadow: inset 0 -1px 3px rgba(255, 255, 255, 0.5), 0 2px 2px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 -1px 3px rgba(255, 255, 255, 0.5), 0 2px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid;
  padding: 8px 12px;
  color: #fff;
  font-family: "Myriad Pro", Arial, Tahoma, sans-serif;
  font-size: 1.4em;
  font-weight: bold;
  text-shadow: -1px -1px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  background: #777;
  border-color: #777;
  text-decoration: none;
  font-style: normal;
  text-transform: none;
  position: relative;
}

.button:hover,
.button:focus {
  bottom: 1px;
  -webkit-box-shadow: inset 0 -1px 3px rgba(255, 255, 255, 0.5), 0 3px 2px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 -1px 3px rgba(255, 255, 255, 0.5), 0 3px 2px rgba(0, 0, 0, 0.2);
  background: #999;
  border-color: #999;
  /* Default color */
}

.button:active {
  top: 1px;
  -webkit-box-shadow: inset 0 -1px 3px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 -1px 3px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Colors */

.blue {
  background: #166ba9;
  border-color: #166ba9;
}

.blue:hover,
.blue:focus {
  background: #3390CF;
  border-color: #3390CF;
}

.red {
  background: #D81204;
  border-color: #D81204;
}

.red:hover,
.red:focus {
  background: #FF2F1F;
  border-color: #FF2F1F;
}

.green {
  background: #95A006;
  border-color: #95A006;
}

.green:hover,
.green:focus {
  background: #B2BF17;
  border-color: #B2BF17;
}

.yellow {
  background: #FFAF09;
  border-color: #FFAF09;
}

.yellow:hover,
.yellow:focus {
  background: #FFCF09;
  border-color: #FFCF09;
}

.purple {
  background: #9F1D78;
  border-color: #9F1D78;
}

.purple:hover,
.purple:focus {
  background: #CF33A0;
  border-color: #CF33A0;
}

.orange {
  background: #FF5F09;
  border-color: #FF5F09;
}

.orange:hover,
.orange:focus {
  background: #FF7F09;
  border-color: #FF7F09;
}

.gray {
  background: #777;
  border-color: #777;
}

.gray:hover,
.gray:focus {
  background: #999;
  border-color: #999;
}

/*基础动画类*/

@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
  }
  50% {
    -webkit-transform: rotate(180deg) scale(1);
    transform: rotate(180deg) scale(1);
  }
  100% {
    -webkit-transform: rotate(360deg) scale(1);
    transform: rotate(360deg) scale(1);
  }
}

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
  }
  50% {
    -webkit-transform: rotate(180deg) scale(1);
    transform: rotate(180deg) scale(1);
  }
  100% {
    -webkit-transform: rotate(360deg) scale(1);
    transform: rotate(360deg) scale(1);
  }
}

@keyframes bounce {
  0%,
  100% {
    -webkit-transform: scale(0.0);
    transform: scale(0.0);
  }
  50% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

@-webkit-keyframes bounce {
  0%,
  100% {
    -webkit-transform: scale(0.0);
    transform: scale(0.0);
  }
  50% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}
/* 禁止滚动 */
.html-body-overflow
{
  overflow-x:hidden !important;
  overflow-y:hidden !important;
}